/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dalInterface;

import java.rmi.Remote;
import java.rmi.RemoteException;
import utils.DataTable;

/**
 *
 * @author Mrkupi
 */
public interface DALRelation extends Remote
{
    DataTable getFriendOf( String accountName ) throws RemoteException;
    
    boolean requestFriend( String userName, String friendName ) throws RemoteException;
    DataTable getRequestedFriend( String userName ) throws RemoteException;
    
    boolean insertNewRelationShip( String userName, String friend ) throws RemoteException;
    boolean deleteRequest( String userName, String requester ) throws RemoteException;
}
